<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader Host: blfwk::Simulator Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader Host
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Host Tools for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classblfwk_1_1_simulator.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classblfwk_1_1_simulator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">blfwk::Simulator Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents the host bootloader.  
 <a href="classblfwk_1_1_simulator.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_simulator_8h_source.html">Simulator.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for blfwk::Simulator:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="classblfwk_1_1_simulator__inherit__graph.svg" width="132" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for blfwk::Simulator:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="classblfwk_1_1_simulator__coll__graph.svg" width="1747" height="387"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ae8bb9b40ce472869aad2aba6fef3d2ec"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8bb9b40ce472869aad2aba6fef3d2ec"></a>
typedef std::vector&lt; <a class="el" href="classblfwk_1_1_memory_store.html">blfwk::MemoryStore</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#ae8bb9b40ce472869aad2aba6fef3d2ec">memory_vector_t</a></td></tr>
<tr class="memdesc:ae8bb9b40ce472869aad2aba6fef3d2ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">A vector of memory stores. <br /></td></tr>
<tr class="separator:ae8bb9b40ce472869aad2aba6fef3d2ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0f49aa04f42060a785adf77346b9de9f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f49aa04f42060a785adf77346b9de9f"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a0f49aa04f42060a785adf77346b9de9f">~Simulator</a> ()</td></tr>
<tr class="memdesc:a0f49aa04f42060a785adf77346b9de9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a0f49aa04f42060a785adf77346b9de9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a630ca1f9cba087798058d6b0d5c8564d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a630ca1f9cba087798058d6b0d5c8564d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a630ca1f9cba087798058d6b0d5c8564d">init</a> ()</td></tr>
<tr class="memdesc:a630ca1f9cba087798058d6b0d5c8564d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize. <br /></td></tr>
<tr class="separator:a630ca1f9cba087798058d6b0d5c8564d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66cdb21ae10a843f7df4c4eb2bd8691d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a66cdb21ae10a843f7df4c4eb2bd8691d">openStateFiles</a> (const std::string &amp;pathToDir, bool forceCreate)</td></tr>
<tr class="memdesc:a66cdb21ae10a843f7df4c4eb2bd8691d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure and open state files.  <a href="#a66cdb21ae10a843f7df4c4eb2bd8691d">More...</a><br /></td></tr>
<tr class="separator:a66cdb21ae10a843f7df4c4eb2bd8691d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors.</div></td></tr>
<tr class="memitem:a4ce0f60f62364f0e88ae11cb1394e35c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ce0f60f62364f0e88ae11cb1394e35c"></a>
<a class="el" href="classblfwk_1_1_sim_packetizer.html">SimPacketizer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a4ce0f60f62364f0e88ae11cb1394e35c">getHost</a> () const </td></tr>
<tr class="memdesc:a4ce0f60f62364f0e88ae11cb1394e35c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the host packetizer. <br /></td></tr>
<tr class="separator:a4ce0f60f62364f0e88ae11cb1394e35c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ef65750f57ff77c2a8f595e4266b39a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ef65750f57ff77c2a8f595e4266b39a"></a>
<a class="el" href="classblfwk_1_1_sim_packetizer.html">SimPacketizer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a1ef65750f57ff77c2a8f595e4266b39a">getDevice</a> () const </td></tr>
<tr class="memdesc:a1ef65750f57ff77c2a8f595e4266b39a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the device packetizer. <br /></td></tr>
<tr class="separator:a1ef65750f57ff77c2a8f595e4266b39a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0216551632df5b43add2b25b366edc6d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classblfwk_1_1_memory_store.html">MemoryStore</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a0216551632df5b43add2b25b366edc6d">getMemoryStore</a> (int index) const </td></tr>
<tr class="memdesc:a0216551632df5b43add2b25b366edc6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a device state memory store.  <a href="#a0216551632df5b43add2b25b366edc6d">More...</a><br /></td></tr>
<tr class="separator:a0216551632df5b43add2b25b366edc6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classblfwk_1_1_bootloader"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classblfwk_1_1_bootloader')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classblfwk_1_1_bootloader.html">blfwk::Bootloader</a></td></tr>
<tr class="memitem:a4d576bc36952fcec62139e4b14446f31 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d576bc36952fcec62139e4b14446f31"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#a4d576bc36952fcec62139e4b14446f31">Bootloader</a> ()</td></tr>
<tr class="memdesc:a4d576bc36952fcec62139e4b14446f31 inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor for <a class="el" href="classblfwk_1_1_simulator.html" title="Represents the host bootloader. ">Simulator</a>. <br /></td></tr>
<tr class="separator:a4d576bc36952fcec62139e4b14446f31 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04f46665c081101a75cf3b2320b864be inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04f46665c081101a75cf3b2320b864be"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#a04f46665c081101a75cf3b2320b864be">Bootloader</a> (const <a class="el" href="classblfwk_1_1_peripheral.html#structblfwk_1_1_peripheral_1_1_peripheral_config_data">Peripheral::PeripheralConfigData</a> &amp;config)</td></tr>
<tr class="memdesc:a04f46665c081101a75cf3b2320b864be inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a04f46665c081101a75cf3b2320b864be inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a970f16331dc25948fd59d269dccc5e4a inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a970f16331dc25948fd59d269dccc5e4a"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#a970f16331dc25948fd59d269dccc5e4a">~Bootloader</a> ()</td></tr>
<tr class="memdesc:a970f16331dc25948fd59d269dccc5e4a inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a970f16331dc25948fd59d269dccc5e4a inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34979a4bffa66b56cc7323ea44f9f834 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#a34979a4bffa66b56cc7323ea44f9f834">inject</a> (<a class="el" href="classblfwk_1_1_command.html">Command</a> &amp;cmd)</td></tr>
<tr class="memdesc:a34979a4bffa66b56cc7323ea44f9f834 inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inject a command into the bootloader.  <a href="#a34979a4bffa66b56cc7323ea44f9f834">More...</a><br /></td></tr>
<tr class="separator:a34979a4bffa66b56cc7323ea44f9f834 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac249931195a33bfe4573cd2256046ee8 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac249931195a33bfe4573cd2256046ee8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#ac249931195a33bfe4573cd2256046ee8">flush</a> ()</td></tr>
<tr class="memdesc:ac249931195a33bfe4573cd2256046ee8 inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flush state. <br /></td></tr>
<tr class="separator:ac249931195a33bfe4573cd2256046ee8 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0af861cd04b89f416ceeef198a6b3e22 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0af861cd04b89f416ceeef198a6b3e22"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#a0af861cd04b89f416ceeef198a6b3e22">execute</a> (uint32_t entry_point, uint32_t param=0, uint32_t stack_pointer=0)</td></tr>
<tr class="memdesc:a0af861cd04b89f416ceeef198a6b3e22 inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classblfwk_1_1_execute.html" title="Represents the bootloader Execute command. ">Execute</a> the execute command. <br /></td></tr>
<tr class="separator:a0af861cd04b89f416ceeef198a6b3e22 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a889c54a8c2a7db7f6cf0fc10dd8ffcec inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a889c54a8c2a7db7f6cf0fc10dd8ffcec"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#a889c54a8c2a7db7f6cf0fc10dd8ffcec">reset</a> ()</td></tr>
<tr class="memdesc:a889c54a8c2a7db7f6cf0fc10dd8ffcec inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classblfwk_1_1_execute.html" title="Represents the bootloader Execute command. ">Execute</a> the reset command. <br /></td></tr>
<tr class="separator:a889c54a8c2a7db7f6cf0fc10dd8ffcec inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd0b4bd84fa8cd78ed1d432cd5f465c4 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd0b4bd84fa8cd78ed1d432cd5f465c4"></a>
<a class="el" href="group__qspi__driver.html#unionstandard__version__t">standard_version_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#abd0b4bd84fa8cd78ed1d432cd5f465c4">getVersion</a> ()</td></tr>
<tr class="memdesc:abd0b4bd84fa8cd78ed1d432cd5f465c4 inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classblfwk_1_1_execute.html" title="Represents the bootloader Execute command. ">Execute</a> the get-property(current-version) command. <br /></td></tr>
<tr class="separator:abd0b4bd84fa8cd78ed1d432cd5f465c4 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9bb137646fffa3ec6bfa3f5dedb0a68 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac9bb137646fffa3ec6bfa3f5dedb0a68"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#ac9bb137646fffa3ec6bfa3f5dedb0a68">getSecurityState</a> ()</td></tr>
<tr class="memdesc:ac9bb137646fffa3ec6bfa3f5dedb0a68 inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classblfwk_1_1_execute.html" title="Represents the bootloader Execute command. ">Execute</a> the get-property(flash-security-state) command. <br /></td></tr>
<tr class="separator:ac9bb137646fffa3ec6bfa3f5dedb0a68 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab5b8a68398d12a6981454a757ca8f2d inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab5b8a68398d12a6981454a757ca8f2d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#aab5b8a68398d12a6981454a757ca8f2d">ping</a> (int retries, unsigned int delay, int comSpeed)</td></tr>
<tr class="memdesc:aab5b8a68398d12a6981454a757ca8f2d inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send a ping if applicable. <br /></td></tr>
<tr class="separator:aab5b8a68398d12a6981454a757ca8f2d inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4979ed9ee49244cee56ede994732a38 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4979ed9ee49244cee56ede994732a38"></a>
<a class="el" href="classblfwk_1_1_packetizer.html">Packetizer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#ad4979ed9ee49244cee56ede994732a38">getPacketizer</a> () const </td></tr>
<tr class="memdesc:ad4979ed9ee49244cee56ede994732a38 inherit pub_methods_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the host packetizer. <br /></td></tr>
<tr class="separator:ad4979ed9ee49244cee56ede994732a38 inherit pub_methods_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a144b467ba646c2ab5c64083bfbb514e3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classblfwk_1_1_simulator.html">Simulator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a144b467ba646c2ab5c64083bfbb514e3">getSimulator</a> ()</td></tr>
<tr class="memdesc:a144b467ba646c2ab5c64083bfbb514e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the singleton simulator object.  <a href="#a144b467ba646c2ab5c64083bfbb514e3">More...</a><br /></td></tr>
<tr class="separator:a144b467ba646c2ab5c64083bfbb514e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a031573bfcfe2e0f5c9539bcc1c7fc5d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a031573bfcfe2e0f5c9539bcc1c7fc5d9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a031573bfcfe2e0f5c9539bcc1c7fc5d9">Simulator</a> ()</td></tr>
<tr class="memdesc:a031573bfcfe2e0f5c9539bcc1c7fc5d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a031573bfcfe2e0f5c9539bcc1c7fc5d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a5e768b30e016511f88396f928ca50e96"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e768b30e016511f88396f928ca50e96"></a>
<a class="el" href="classblfwk_1_1_sim_packetizer.html">SimPacketizer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a5e768b30e016511f88396f928ca50e96">m_devicePacketizer</a></td></tr>
<tr class="memdesc:a5e768b30e016511f88396f928ca50e96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Packet interface to recieve commands on. <br /></td></tr>
<tr class="separator:a5e768b30e016511f88396f928ca50e96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a033847a580e6728009fce6525dd95fa1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a033847a580e6728009fce6525dd95fa1"></a>
uchar_deque_t&#160;</td><td class="memItemRight" valign="bottom"><b>m_commandStream</b></td></tr>
<tr class="separator:a033847a580e6728009fce6525dd95fa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a594ffb650dd6c458bb7027e4876962ba"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a594ffb650dd6c458bb7027e4876962ba"></a>
uchar_deque_t&#160;</td><td class="memItemRight" valign="bottom"><b>m_responseStream</b></td></tr>
<tr class="separator:a594ffb650dd6c458bb7027e4876962ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b26f3f42e4694a4d4a505617b94f192"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b26f3f42e4694a4d4a505617b94f192"></a>
command_processor_data_t&#160;</td><td class="memItemRight" valign="bottom"><b>m_commandProcessor</b></td></tr>
<tr class="separator:a6b26f3f42e4694a4d4a505617b94f192"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad937aa8ce0475a8cacdf43ca30b0d70a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad937aa8ce0475a8cacdf43ca30b0d70a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#ad937aa8ce0475a8cacdf43ca30b0d70a">m_areStateFilesOpen</a></td></tr>
<tr class="memdesc:ad937aa8ce0475a8cacdf43ca30b0d70a"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if state files are in use. <br /></td></tr>
<tr class="separator:ad937aa8ce0475a8cacdf43ca30b0d70a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eeadce40405024b45fcd1c569284f28"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9eeadce40405024b45fcd1c569284f28"></a>
<a class="el" href="classblfwk_1_1_simulator.html#ae8bb9b40ce472869aad2aba6fef3d2ec">memory_vector_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a9eeadce40405024b45fcd1c569284f28">m_memoryStore</a></td></tr>
<tr class="memdesc:a9eeadce40405024b45fcd1c569284f28"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vector of memory stores, one per map entry. <br /></td></tr>
<tr class="separator:a9eeadce40405024b45fcd1c569284f28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a936d440b707530802ac36feb1766d1cf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a936d440b707530802ac36feb1766d1cf"></a>
<a class="el" href="classblfwk_1_1_options_store.html">OptionsStore</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a936d440b707530802ac36feb1766d1cf">m_optionsStore</a></td></tr>
<tr class="memdesc:a936d440b707530802ac36feb1766d1cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Persistent options store. <br /></td></tr>
<tr class="separator:a936d440b707530802ac36feb1766d1cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2a3afdd148fed6b2de00bab83dbf627"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2a3afdd148fed6b2de00bab83dbf627"></a>
property_store_t&#160;</td><td class="memItemRight" valign="bottom"><b>m_propertyStore</b></td></tr>
<tr class="separator:aa2a3afdd148fed6b2de00bab83dbf627"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a025d4815950c3ada3e9878539ddbfd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a025d4815950c3ada3e9878539ddbfd"></a>
peripheral_descriptor_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a5a025d4815950c3ada3e9878539ddbfd">m_activePeripheral</a></td></tr>
<tr class="memdesc:a5a025d4815950c3ada3e9878539ddbfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Descriptor for the active peripheral. <br /></td></tr>
<tr class="separator:a5a025d4815950c3ada3e9878539ddbfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53be65150ec5aa89d6a989cc63dfa4de"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a53be65150ec5aa89d6a989cc63dfa4de"></a>
<a class="el" href="group__logging.html#class_file_logger">FileLogger</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_simulator.html#a53be65150ec5aa89d6a989cc63dfa4de">m_logger</a></td></tr>
<tr class="memdesc:a53be65150ec5aa89d6a989cc63dfa4de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Singleton logger instance. <br /></td></tr>
<tr class="separator:a53be65150ec5aa89d6a989cc63dfa4de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classblfwk_1_1_bootloader"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classblfwk_1_1_bootloader')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classblfwk_1_1_bootloader.html">blfwk::Bootloader</a></td></tr>
<tr class="memitem:aa27c01ea4b6a3e12091088e8b83e95f0 inherit pro_attribs_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa27c01ea4b6a3e12091088e8b83e95f0"></a>
<a class="el" href="classblfwk_1_1_packetizer.html">Packetizer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#aa27c01ea4b6a3e12091088e8b83e95f0">m_hostPacketizer</a></td></tr>
<tr class="memdesc:aa27c01ea4b6a3e12091088e8b83e95f0 inherit pro_attribs_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight">Packet interface to send commands on. <br /></td></tr>
<tr class="separator:aa27c01ea4b6a3e12091088e8b83e95f0 inherit pro_attribs_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af44eb458e050e54155a6955ce13841cf inherit pro_attribs_classblfwk_1_1_bootloader"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af44eb458e050e54155a6955ce13841cf"></a>
<a class="el" href="group__logging.html#class_file_logger">FileLogger</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_bootloader.html#af44eb458e050e54155a6955ce13841cf">m_logger</a></td></tr>
<tr class="memdesc:af44eb458e050e54155a6955ce13841cf inherit pro_attribs_classblfwk_1_1_bootloader"><td class="mdescLeft">&#160;</td><td class="mdescRight">Singleton logger instance. <br /></td></tr>
<tr class="separator:af44eb458e050e54155a6955ce13841cf inherit pro_attribs_classblfwk_1_1_bootloader"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents the host bootloader. </p>
<p>This class provides a convenient way to access other bootloader framework objects. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a0216551632df5b43add2b25b366edc6d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classblfwk_1_1_memory_store.html">MemoryStore</a>* blfwk::Simulator::getMemoryStore </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get a device state memory store. </p>
<p>index Index into memory map for the simulated device. </p>

</div>
</div>
<a class="anchor" id="a144b467ba646c2ab5c64083bfbb514e3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classblfwk_1_1_simulator.html">Simulator</a>&amp; blfwk::Simulator::getSimulator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the singleton simulator object. </p>
<p>Singleton object. </p>

</div>
</div>
<a class="anchor" id="a66cdb21ae10a843f7df4c4eb2bd8691d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Simulator::openStateFiles </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>pathToDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>forceCreate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure and open state files. </p>
<p>Must be called to open or create state files.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathToDir</td><td>Directory for state files. </td></tr>
    <tr><td class="paramname">forceCreate</td><td>True to re-create state files even if they exist. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_simulator_8h_source.html">Simulator.h</a></li>
<li>Simulator.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>blfwk</b></li><li class="navelem"><a class="el" href="classblfwk_1_1_simulator.html">Simulator</a></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:49:51 for Kinetis Bootloader Host by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
